home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / Programming / MUI / MCC_NList / Developer / C / Examples / makefile next >
Encoding:
Makefile  |  1998-11-30  |  370 b   |  26 lines

  1. #
  2. #       makefile for GNU Make
  3. #
  4.  
  5. CC = gcc
  6.  
  7. LDFLAGS =
  8. CFLAGS = -m68000 -O2 -noixemul
  9.  
  10.  
  11. all: NList-Demo
  12.  
  13.  
  14. NList-Demo: NList-Demo.o NList-Demo2.o NList-Demo3.o
  15.     gcc -s $(CFLAGS) $^ -o $@
  16.  
  17. NList-Demo.o: NList-Demo.c
  18.     gcc $(CFLAGS) NList-Demo.c -c
  19.  
  20. NList-Demo2.o: NList-Demo2.c
  21.     gcc $(CFLAGS) NList-Demo2.c -c
  22.  
  23. NList-Demo3.o: NList-Demo3.c
  24.     gcc $(CFLAGS) NList-Demo3.c -c
  25.  
  26.